import greenfoot.*;  // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)

/**
 * Write a description of class EmergencyCenter here.
 * 
 * @author (your name) 
 * @version (a version number or a date)
 */
public class EmergencyCenter extends MiniGame
{

    /**
     * Constructor for objects of class EmergencyCenter.
     * 
     */
    public EmergencyCenter()
    {    
        super(240, 1);
        
        //add the objects
       addObject(new Desk(), 50, 50); 
       addObject(new Desk(), 300, 50); 
       addObject(new Desk(), 550, 50); 
       addObject(new Desk(), 50, 350); 
       addObject(new Desk(), 300, 350); 
       addObject(new Desk(), 550, 350); 
       
       Telephone Telephone1 = new Telephone();
        addObject(Telephone1, 50, 50);
       Telephone Telephone2 = new Telephone();
       addObject(Telephone2, 300, 50); 
       Telephone Telephone3 = new Telephone();
       addObject(Telephone3, 550, 50); 
       Telephone Telephone4 = new Telephone();
       addObject(Telephone4, 50, 350); 
       Telephone Telephone5 = new Telephone();
       addObject(Telephone5, 300, 350); 
       Telephone Telephone6 = new Telephone();
       addObject(Telephone6, 550, 350);   
       
       addObject(new Player(this), 300, 200);
       setPaintOrder(Telephone.class, Desk.class);
       int Countdown;
    }
}
